package tr.edu.metu.is550.isell.rest.message;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "property")
public class SearchPropertyResultMessage {
    public SearchPropertyResultMessage() {
    }

    public SearchPropertyResultMessage(Long id, String title) {
        this.id = id;
        this.title = title;
    }

    @XmlElement
    private Long id;
    @XmlElement
    private String title;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
